package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffTopPlanEvaObjObClassSubCycleDto
 * @使用场景
 */
@Data
public class BffTopPlanEvaObjObClassSubCycleDto implements Serializable {

    /**
     * 被评对象目标周期ID
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String evaObjTargetCycleId;

    /**
     * 周期ID
     */
    @ApiModelProperty("周期ID")
    private String cycleId;

    /**
     * 关联目标内容ID
     */
    @ApiModelProperty("关联目标内容ID")
    private String targetCycleContentId;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffTopPlanEvaObjObClassSubCycleDto that = (BffTopPlanEvaObjObClassSubCycleDto) o;
        return evaObjTargetCycleId == that.evaObjTargetCycleId && cycleId == that.cycleId && targetCycleContentId == that.targetCycleContentId;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), evaObjTargetCycleId, cycleId, targetCycleContentId);
    }


}
   